<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>

</head>
<body>
    <div id="app">

        {{ msg }}
        <p v-text="msg"></p>
        <br>
        <p v-html="msg"></p>
    </div>
</body>
<script>
    new Vue({
       el:"#app",
       data:{
           msg:"<h1>asdfghjkl</h1>"
       },
        methods:{

        }
    });
</script>
</html>